const express = require('express');
var dishTypeController = require('../controller/dishType.controller');

module.exports = (app)=>{
    var router = express.Router();

    router.route('/')
        .get(dishTypeController.findAllDishType);

    app.use('/dishTypes',router);

    return router;
}